
new Vue({
    el: '#app',
    data: {
        qaList: [],
        currentIndex: 0
    },
    computed: {
        currentQa: function() {
            return this.qaList[this.currentIndex];
        }
    },
    methods: {  
        next() {
            this.currentIndex = this.currentIndex + 1;
        }
    }
});
